package org.esiag.isidis.proxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

import org.omg.PortableInterceptor.Interceptor;
	
/**
 * @author Igor BERNARD
 *
 */
public class BeanInvocationHandler implements InvocationHandler {
	private Object bean;
	
	public BeanInvocationHandler(Object bean) {
		this.bean = bean;
	}
	
	public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
		Invocation invocation = new Invocation(bean, method, args);
		//return invocation.getBean();
		return "";
	}
}
	